package com.outfoodmanage.utils;

public class TimeUtil {

public  static String formatTime(Integer minuteStr){
		
		String resultStr = "";
		
		if (minuteStr != null) {
			if (minuteStr != 0) {
				if (minuteStr/60 == 0) {
					resultStr = minuteStr%60+"分钟";
				}else{
					if (minuteStr%60 == 0) {
						resultStr = minuteStr/60+"小时";
					}else{
						resultStr = (minuteStr/60+"小时"+minuteStr%60+"分钟");
					}
				}
			}else{
				resultStr = "0时0分钟";
			}
		}else{
			resultStr = "0时0分钟";
		}
		return resultStr;
	}
	


}
